<?php

class AlterCoordinate
{
	/**
	*	Tinh tien 1 diem
	*	Input
	*		@param	point	Point		Point to advanced equally
	*		@param	dx		integer		distance for X coordinate
	*		@param	dy		integer		distance for Y coordinate
	*	Output	
	*		Point after Advanced equally
	*/
	function AdvancedEqually($point, $dx, $dy)
	{
		$x = $point->getX() + $dx;
		$y = $point->getY() + $dy;
		$p = new Point($x,$y);
		return $p;
	}

}
?>